package com.lvtulife.paas.gtd.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.lvtulife.common.entity.BaseEntity;

import java.util.Date;

/**
 * 分支目标表
 */
@TableName("gtd_aim_branch")
public class GtdAimBranch extends BaseEntity {

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /**
     * 上级ID
     */
    private Long pid;

    /**
     * 主干目标ID
     */
    private Long atid;

    /**
     * 目标内容ID
     */
    private Long aid;

    /**
     * 分支等级：从1开始
     */
    private Integer branchClass;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 事务处理：否0；是1
     */
    private Integer joinPool;

    /**
     * 创建时间
     */
    private Date createdDt;

    /**
     * 更新时间
     */
    private Date updatedDt;

    public Long getPid() {
        return this.pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }

    public Long getAtid() {
        return this.atid;
    }

    public void setAtid(Long atid) {
        this.atid = atid;
    }

    public Long getAid() {
        return this.aid;
    }

    public void setAid(Long aid) {
        this.aid = aid;
    }

    public Integer getBranchClass() {
        return this.branchClass;
    }

    public void setBranchClass(Integer branchClass) {
        this.branchClass = branchClass;
    }

    public Integer getSort() {
        return this.sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getJoinPool() {
        return this.joinPool;
    }

    public void setJoinPool(Integer joinPool) {
        this.joinPool = joinPool;
    }

    public Date getCreatedDt() {
        return this.createdDt;
    }

    public void setCreatedDt(Date createdDt) {
        this.createdDt = createdDt;
    }

    public Date getUpdatedDt() {
        return updatedDt;
    }

    public void setUpdatedDt(Date updatedDt) {
        this.updatedDt = updatedDt;
    }
}
